using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Qreed.Windows.Forms;

namespace MessageBoxExDemo
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            /*MessageBoxEx msgBox = new MessageBoxEx();

            msgBox.Text = "Lorem ipsum del Baja";
            msgBox.Caption = "Di da do dar";
            msgBox.CheckBoxText = "Check!";

            msgBox.Show();*/

            bool isChecked = false;
/*            DialogResult res = MessageBoxEx.Show(null, "Would you now? ", "1st Question", "Skip next question",
                                                 ref isChecked, MessageBoxButtons.OKCancel, MessageBoxIcon.Hand, 
                                                 MessageBoxDefaultButton.Button1, 0);*/

            DialogResult res = MessageBoxEx.Show("Would you now? Would you now?\nWould you now?", "1st Question", "Skip next question", ref isChecked);

            if (!isChecked)
            {
                MessageBox.Show("Whatever.");
            }

            res = MessageBoxEx.Show("UNHANDLED EXCEPTION: The AI module failed to ... erhm ... Oh!\nMy bad. Nevermind.",
                                    "AI Sucks", "Don't bother me again", ref isChecked, MessageBoxButtons.AbortRetryIgnore, 
                                    MessageBoxIcon.Error);
            
            // Application.Run(new Form1());
        }
    }
}